﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ToWaTimeReportMVC4.Models
{
    public class ConsultantWrapper
    {

        public User Consultant { get; set; }
        public int TimeSpent { get; set; }
        public int ProjectId { get; set; }

        public override bool Equals(Object obj)
        {
            ConsultantWrapper cw = (ConsultantWrapper)obj;
            if (Consultant.Id == cw.Consultant.Id)
            {
                return true;
            }
            return false;
        }

    }
}
